-
-
Notifications
You must be signed in to change notification settings - Fork 398
Look for both .pde and .ino files when compile target is a folder #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look for both .pde and .ino files when compile target is a folder #490
Conversation
I don't think the "Build Failed" is related to the code changes. GitHub says:
|
@lluiscampos no, it's not your fault, the CI system is currently disabled due to administrative problems but it'll be back online soon. 🤞 |
@zmoog do we have the CI system up and running? Can you manually start the pipeline for this PR? |
My apologies: unfortunately t's an administrative problem, and I can't start the pipeline, I'm sorry. AFAIK the issue should be fixed soon. |
ebb47c7
to
5c38844
Compare
…#386) When only specifying folder, the logic will try both <DirName>.ino and <DirName>.pde as the main sketch file. If both are found, and error is also thrown (it would break on compile later on). Added couple of unit tests also. Signed-off-by: Lluis Campos <[email protected]>
5c38844
to
174c49e
Compare
@zmoog Finally, I was able to run the CI checks (which failed the first run but I amended afterwards). Let me know if I need to correct something else :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the PR @lluiscampos! I've modifed a bit the title because it'll be automatically added as an entry in the next CHANGELOG and I think this way it works a bit better. |
Awesome, thanks! After many years as a user, I am very exited to have contributed to Arduino 😃 |
Fixes #386